POV-Ray : Newsgroups : povray.unofficial.patches : I don't understand the slope pattern : Re: I don't understand the slope pattern Server Time
1 Sep 2024 12:13:01 EDT (-0400)
  Re: I don't understand the slope pattern  
From: Warp
Date: 1 May 2001 07:53:34
Message: <3aeea3be@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote:
: Perhaps his texture is distorted when scaled.

  Well, he can do this:

heighfield
{ whatever
  scale <10, 1, 20>
  texture { whatever }
  scale <1, 2, 1>
}

-- 
#local D=array[6]{11117333955,7382340,3358,3900569407,970,4254934330}
#local I=0;#macro M()<mod(D[I],13)-6,mod(div(D[I],13),8)-3,10>#end
#while(I<6)cylinder{M()#local D[I]=div(D[I],104);M().1
pigment{rgb M()}}#local I=(D[I]>99?I:I+1);#end              /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.